#ifndef VDLOGINWGT_H
#define VDLOGINWGT_H

#include <QDialog>

namespace Ui {class VDLoginWgt;};

class VDUser;

class VDLoginWgt : public QDialog
{
	Q_OBJECT

public:
	VDLoginWgt(QWidget *parent = 0);
	~VDLoginWgt();
	VDUser *getUser();

private:
	bool isEnter();

private:
	Ui::VDLoginWgt *ui;

private slots:
	void slotToolButtonEnter_clicked();
	void slotToolButtonExit_clicked();

	void slotCheckBoxAuto_toggled(bool checked);

	void slotLineEditLogin_textChanged(const QString &text);
	void slotLineEditPassword_textChanged(const QString &text);
};

#endif // VDLOGINWGT_H
